import Vue from 'vue'
import VueRouter from 'vue-router'
import StuDisplay from '../views/StuDisplay'
import Login from "@/views/Login";

Vue.use(VueRouter)

const routes = [
  {
    path:'/',
    name:'Login',
    component:Login
  },
  {
    path:'/stu',
    name:'StuDisplay',
    component:StuDisplay
  }
]

const router = new VueRouter({
  routes
})

export default router
